package com.org.model;

/**
 * OrderCoupon entity. @author MyEclipse Persistence Tools
 */

public class OrderCoupon implements java.io.Serializable {

	// Fields

	private OrderCouponId id;
	private Coupon coupon;
	private Order order;

	// Constructors

	/** default constructor */
	public OrderCoupon() {
	}

	/** full constructor */
	public OrderCoupon(OrderCouponId id, Coupon coupon, Order order) {
		this.id = id;
		this.coupon = coupon;
		this.order = order;
	}

	// Property accessors

	public OrderCouponId getId() {
		return this.id;
	}

	public void setId(OrderCouponId id) {
		this.id = id;
	}

	public Coupon getCoupon() {
		return this.coupon;
	}

	public void setCoupon(Coupon coupon) {
		this.coupon = coupon;
	}

	public Order getOrder() {
		return this.order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

}